<If Loop>
   <IsFKey>
Imports System.Collections.Generic
Imports System.Data
Imports System.Data.Entity
Imports System.Linq

  <ExitLoop>
</If Loop>
<If Loop>
   <IsFKey>
Public Class <OwnerU>_<TableU>_<ROwnerU>_<RTableU>DataClass<MiscTag>

    Public Shared Function Select<ROwnerU>_<RTableU>() As IEnumerable
        Using context = New <Database>DBContext()
            Return context.<ROwnerU>_<RTableU>.ToList()
        End Using
    End Function

End Class

</If Loop>
